import { get, post } from '../utils/request'
// 获取全部数据
export const datasrequest = res=>get("api/getCustomerData",res);
 //通过地区、时间查询总用户数据
export const getScreenData = p=>post("api/queryCustomerData",p);
//获取全部大客户合伙人数据
export const getCopartnerdatas = res=>get("api/getCopartnerData",res);
//查询大客户合伙人数据
export const queryprovincialdatas = p=>post("api/queryProvincialData",p);
//获取省的总活跃度
export const getactivedatas = res=>get("api/getActivityData",res);
//查询省活跃度 
export const queryactivitydatas = p=>post("api/queryActivityData",p);
//获取市的总活跃度
export const getcityactivity = res=>get("api/getCityactivity",res);
//获取区的总活跃度
export const getareaactivity = res=>get("api/getAreaactivity",res);
//修改密码
export const changepassword=res=>post("api/setChangePassword",res);
//修改用户名
export const changeusername=res=>post("api/Setuporganization",res);
